package com.zhentao.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 仓库表
 * @TableName yd_depot
 */
@TableName(value ="yd_depot")
@Data
public class YdDepot implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 仓库名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 仓库地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 仓储费
     */
    @TableField(value = "warehousing")
    private BigDecimal warehousing;

    /**
     * 搬运费
     */
    @TableField(value = "truckage")
    private BigDecimal truckage;

    /**
     * 类型
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 排序
     */
    @TableField(value = "sort")
    private String sort;

    /**
     * 描述
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 负责人
     */
    @TableField(value = "principal")
    private Long principal;

    /**
     * 启用
     */
    @TableField(value = "enabled")
    private Boolean enabled;

    /**
     * 租户id
     */
    @TableField(value = "tenant_id")
    private Long tenantId;

    /**
     * 删除标记，0未删除，1删除
     */
    @TableField(value = "delete_Flag")
    private String deleteFlag;

    /**
     * 是否默认
     */
    @TableField(value = "is_default")
    private Boolean isDefault;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}